#ifndef POLICE_H
#define POLICE_H

#include "stdafx.h"

namespace PM3D
{
    class Dispositif;
    class Police
    {
    public:
        Police(Dispositif* d3dDevice, 
            const std::wstring& FaceName_in, int nb_point, int largeur);

        ~Police();

        void Write(const std::wstring& texte, RECT* rect, 
            DWORD format, D3DCOLOR couleur);     

    protected:
        ID3DXFont* police_;
        IDirect3DDevice9* d3dDevice_;		// On prend en note le dispositif
    };
}   // namespace PM3D

#endif //POLICE_H
